namespace Apps.Models
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("V_RC_WEIGHING_RECORD")]
    public partial class V_RC_WEIGHING_RECORD
    {
        [Key]
        public string RECORD_ID { get; set; }
        public string WEIGHING_ID { get; set; }
        public string PROCESS_ID { get; set; }
        public Nullable<System.DateTime> PLAN_DATE { get; set; }
        public string CAR_ID { get; set; }
        public string LPR { get; set; }
        public string DETAIL_ID { get; set; }
        public string BATCH_CODE { get; set; }
        public string MINE_ID { get; set; }
        public string MINE_NAME { get; set; }
        public string MATERIEL_ID { get; set; }
        public string MATERIEL_NAME { get; set; }
        public string SUPPLIER_ID { get; set; }
        public string SUPPLIER_NAME { get; set; }
        public string TRANSPORT_ID { get; set; }
        public string TRANSPORT_NAME { get; set; }
        public decimal GROSS { get; set; }
        public string GROSS_NODE_ID { get; set; }
        public string GROSS_NODE_NAME { get; set; }
        public string GROSS_USER_ID { get; set; }
        public string GROSS_USER_NAME { get; set; }
        public System.DateTime GROSS_TIME { get; set; }
        public decimal TARE { get; set; }
        public decimal NET { get; set; }
        public string TARE_NODE_ID { get; set; }
        public string TARE_NODE_NAME { get; set; }
        public string TARE_USER_ID { get; set; }
        public string TARE_USER_NAME { get; set; }
        public System.DateTime TARE_TIME { get; set; }
        public decimal COEFFECENT { get; set; }
        public decimal CUTBILL { get; set; }
        public decimal RADOM { get; set; }
        public decimal BALANCE { get; set; }
        public Nullable<decimal> BILL_WEIGHT { get; set; }
        public Nullable<bool> IS_COAL { get; set; }
        public string RECORD_USER { get; set; }
        public string RECORD_USERNAME { get; set; }
        public Nullable<System.DateTime> RECORD_TIME { get; set; }
        public int? RECORD_TYPE { get; set; }
        public byte APPROVAL_STATUS { get; set; }
        public string REASON { get; set; }
        //[Key]
        //[Column(Order = 0)]
        //[StringLength(40)]
        //public string RECORD_ID { get; set; }

        //[StringLength(40)]
        //public string WEIGHING_ID { get; set; }

        //[Key]
        //[Column(Order = 1)]
        //[StringLength(40)]
        //public string PROCESS_ID { get; set; }

        //public DateTime? PLAN_DATE { get; set; }

        //[StringLength(40)]
        //public string CAR_ID { get; set; }

        //[StringLength(50)]
        //public string LPR { get; set; }

        //[StringLength(40)]
        //public string DETAIL_ID { get; set; }

        //[StringLength(40)]
        //public string BATCH_CODE { get; set; }

        //[StringLength(40)]
        //public string MINE_ID { get; set; }

        //[StringLength(50)]
        //public string MINE_NAME { get; set; }

        //[StringLength(40)]
        //public string MATERIEL_ID { get; set; }

        //[StringLength(50)]
        //public string MATERIEL_NAME { get; set; }

        //[StringLength(40)]
        //public string SUPPLIER_ID { get; set; }

        //[StringLength(50)]
        //public string SUPPLIER_NAME { get; set; }

        //[StringLength(40)]
        //public string TRANSPORT_ID { get; set; }

        //[StringLength(50)]
        //public string TRANSPORT_NAME { get; set; }

        //[Key]
        //[Column(Order = 2)]
        //public decimal GROSS { get; set; }

        //[Key]
        //[Column(Order = 3)]
        //[StringLength(40)]
        //public string GROSS_NODE_ID { get; set; }

        //[StringLength(50)]
        //public string GROSS_NODE_NAME { get; set; }

        //[Key]
        //[Column(Order = 4)]
        //[StringLength(40)]
        //public string GROSS_USER_ID { get; set; }

        //[StringLength(200)]
        //public string GROSS_USER_NAME { get; set; }

        //[Key]
        //[Column(Order = 5)]
        //public DateTime GROSS_TIME { get; set; }

        //[Key]
        //[Column(Order = 6)]
        //public decimal TARE { get; set; }

        //[Key]
        //[Column(Order = 7)]
        //public decimal NET { get; set; }

        //[Key]
        //[Column(Order = 8)]
        //[StringLength(40)]
        //public string TARE_NODE_ID { get; set; }

        //[StringLength(50)]
        //public string TARE_NODE_NAME { get; set; }

        //[Key]
        //[Column(Order = 9)]
        //[StringLength(40)]
        //public string TARE_USER_ID { get; set; }

        //[StringLength(200)]
        //public string TARE_USER_NAME { get; set; }

        //[Key]
        //[Column(Order = 10)]
        //public DateTime TARE_TIME { get; set; }

        //[Key]
        //[Column(Order = 11)]
        //public decimal COEFFECENT { get; set; }

        //[Key]
        //[Column(Order = 12)]
        //public decimal CUTBILL { get; set; }

        //[Key]
        //[Column(Order = 13)]
        //public decimal RADOM { get; set; }

        //[Key]
        //[Column(Order = 14)]
        //public decimal BALANCE { get; set; }

        //public decimal? BILL_WEIGHT { get; set; }

        //public bool? IS_COAL { get; set; }

        //[StringLength(40)]
        //public string RECORD_USER { get; set; }

        //[StringLength(200)]
        //public string RECORD_USERNAME { get; set; }

        //public DateTime? RECORD_TIME { get; set; }

        //public int? RECORD_TYPE { get; set; }

        //[Key]
        //[Column(Order = 15)]
        //public int APPROVAL_STATUS { get; set; }

        //[StringLength(400)]
        //public string REASON { get; set; }
    }
}
